import wx
from polymerization_main import PolymerizationMain
from loguru import logger

if __name__ == '__main__':
    # logger.add("./log/{time:YYYY-MM-DD}.log", level="INFO", encoding="utf-8", retention="10 day")
    logger.add("./log/log.txt", rotation="00:00")
    app = wx.App(False)
    frame = PolymerizationMain(None)
    frame.Show(True)
    app.MainLoop()
